//
//  MBPHUD.h
//  QuanJieShopProject
//
//  Created by apple on 2018/1/30.
//  Copyright © 2018年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <MBProgressHUD.h>

@interface MBPHUD : NSObject

//显示文字,持续时间
+(MBProgressHUD *)showAlertWithTitle:(NSString *)title duration:(float)duration;

+(MBProgressHUD *)showAlertWithTitle:(NSString *)title;

+(MBProgressHUD *)showAlertWithTitle:(NSString *)title inView:(UIView *)inView;

+(MBProgressHUD *)showAlertWithTitle:(NSString *)title inView:(UIView *)inView duration:(float)duration;

+(void)hideMBPHUD;

#pragma mark - 网络加载提示框
+(MBProgressHUD *)showHUDWithTitle:(NSString *)title;
+(MBProgressHUD *)showHUDWithTitle:(NSString *)title inView:(UIView *)inView;;
@end
